package com.yt.brand.controller;

import com.yt.brand.service.impl.HireCarBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HireCarBrandController {

    @Autowired
    private HireCarBrandService hireCarBrandService;

    @RequestMapping("/add")
    public String add() throws Exception {
        hireCarBrandService.addBrand();
        return "success";
    }
}
